<?php 
if(KT!='KhiThe') exit;
class navs_model extends khithe_mysql{
	
	public function get_category($ParentID)
	{
		$ParentID = parent::checkStrMySQL($ParentID);
		$select = "SELECT * FROM ".categorys." WHERE MenuH = '1' AND ParentID = '".$ParentID."' AND `Status`='true' ORDER BY `Order` ASC";
		$query = parent::SelectMySQL($select);
		return $query;
	}
	
}
?>